package generice;

import collection.Point;

public class Demo3 {
    public static void main(String[] args) {
        TransferObject3<String> o = new TransferObject3<>();
        o.doSome("hello");//doSome方法使用了类上的泛型

        int d = o.doSome2(123);
        Point p = o.doSome2(new Point(1,2));
        String s = o.doSome2("123");
    }
}
